-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize ft when using padded vocabulary #3936
Conversation
if ( | ||
getattr(paddle.fluid.framework, "_in_eager_mode_", False) | ||
and getattr(paddle.fluid.framework, "_dygraph_tracer_", None) is not None | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是否有不依赖fluid的接口来判断,另外写上注释说明需要这个分支的原因
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
必须得有 paddle.fluid.framework
,paddle.framework
没有暴露这个变量。
Codecov Report
@@ Coverage Diff @@
## develop #3936 +/- ##
========================================
Coverage 36.30% 36.30%
========================================
Files 419 419
Lines 59222 59254 +32
========================================
+ Hits 21498 21514 +16
- Misses 37724 37740 +16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
PR types
Function optimization
PR changes
Others
Description
use_cache=False
use_cache=False
use_cache=False